[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
l in a row.     \startplacetable[mode=columns,reference=demo-1]     \externalfigure[cow][width=\textwidth]     \stopplacetable     \samplefile{tufte} \stoptext so basically we have an "at the spot" placement or a float Is "mode" in floats something new? How is

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
ve=inmargin (or margin) and alternative=text. I’m afraid they are mutually exclusive alternative modes. Just in case it might help, Pablo ___ If your question is of interest to others as well, please add an en

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
ced -> Environment Variables). Details depend on your version of Windows and are explained in Windows help. You should not expect extensive support from the WinEdt Team when it comes to configuring your Windows. Changes to the PATH variable made through WinEdt's PATH page in the Execution

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 13:27 schrieb Miguel Diaz: 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? That usually only happens in one of the column modes that requires the grid. It doesn’t happen in usual one-column typesetting. There must

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-31 Thread Henning Hraban Ramm
with TDS. This would be the only way to get the modules script work with those modes (or .tar.gz is also accepted as compression format for the modules script). no, see above Hraban ___ If your question

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-31 Thread Pablo Rodriguez
start mixing compression formats, would it be possible that the git checkout selects .zip instead of .tar.gz? Sorry, but the git URL seems to be the only way to get directories that comply with TDS. This would be the only way to get the modules script work with those modes (or .tar.gz is also accept

[NTG-context] Re: What are these warnings/errors?

2023-07-18 Thread Gerben Wierda
t; [archimate] > [ss] > [Hiragino Sans GB] > [preset=range:chinese, >tf=style:W3, >it=style:W3, >bf=style:W6, >bi=style:W6, >force=yes] > > \definefontfeature [expandophian] [extend=1.025] > \definefontfamily > [archimate] > [ss] > [Ophi

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Wolfgang Schuster via ntg-context
and cutspace keys. In the example below you can switch between the layout of the print and screen version by changing modes. \enablemode[print] %\enablemode[screen] \definepapersize [pawel] [width=432pt,height=648pt] \setuppapersize [pawel] \startmode[print] \setuplayout   [backspace=52pt

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Willi Egger via ntg-context
n=60pt, ...] > > The makeup width and text width is calculated as 472pt and the margin appears > to be set just on one side. > > I set both cutspace and backspace to 0pt. I assumed that either value is a > particular area of the page. > > > Has any one of yo

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Wolfgang Schuster via ntg-context
to 0pt. I assumed that either value is a particular area of the page. Has any one of you handled such a case? I'll be very glad to get some directions. I can create a simple document with modes or documents to illustrate my case if needed... The example below sets the correct margins

[NTG-context] Layout with equal margins.

2023-05-21 Thread Pawel Urbanski via ntg-context
of the page. Has any one of you handled such a case? I'll be very glad to get some directions. I can create a simple document with modes or documents to illustrate my case if needed... Thank you, Pawel ___ If your

Re: [NTG-context] Nuclear reactions

2023-04-16 Thread Tomáš Hála via ntg-context
}{38}{194} or (with more logical order of parameters) \unexpanded\def\isotope#1#2#3{\dontleavehmode\begingroup\null\lohi[left]{#1}{#2}#3\endgroup} \isotope{38}{999}{Sr} Or for text and math modes together: \unexpanded\def\isotope#1#2#3{% \ifmmode\begingroup\null^^{#1}__{#2}{\rm#3}\endgroup

[NTG-context] lmtx upload

2022-12-01 Thread Hans Hagen via ntg-context
Hi, I uploaded lmtx. Most significate: - A slightly different implementaqtion of font modes 'base' and 'none' (hopefully no side effects). - A few math updates (like primes done a bit differently, we made some choices here). - Limited support for colr format 1 as needed for the rather

Re: [NTG-context] How do I write a digital book that can become a physical book without a lot of modifications?

2022-09-10 Thread Mikael Sundqvist via ntg-context
l book that doesn't have to be heavily modified in > order to become a physical book? I want almost no modification at all. I think you can use modes: https://wiki.contextgarden.net/Modes. Simply do different setups in different modes. Then choose the mode at

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
gives an idea. No upload as first we need to do some wrapping up of math. Not that we needed something in the engine other than the linebreak helper to accept direct modes (no need to go back and forth then and i only want write this crap once). Could be a module although it's only some 70

[NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
\phrasetext{sheettitle} \stoptext I run this with one of three modes: context --mode=EN --result=test-en test.tex context --mode=RU --result=test-ru test.tex context --mode=EL --result=test-el test.tex This works for EN, RU, but not for EL. When I run with “—mode=EL” I get EN. Why? I am either blind

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-26 Thread Hans Hagen via ntg-context
in that anyway: thinking probably stops at the number '120'). Attached a proof of concept that gives an idea. No upload as first we need to do some wrapping up of math. Not that we needed something in the engine other than the linebreak helper to accept direct modes (no need to go back and forth t

Re: [NTG-context] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Wolfgang Schuster via ntg-context
language added this becomes more and more complex. I was wondering what would be a good approach to simplify it. I want to make sure that one and only one of these modes is active and that if no mode is entered on the command line the mode is EN. %\enablemode[EN] \enablemode[FR] %\enablemode

[NTG-context] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Gerben Wierda via ntg-context
this becomes more and more complex. I was wondering what would be a good approach to simplify it. I want to make sure that one and only one of these modes is active and that if no mode is entered on the command line the mode is EN. Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda&

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 09:40, Gerben Wierda via ntg-context wrote: >> On 11 May 2022, at 08:59, Taco Hoekwater wrote: >> [...] >> The language settings trigger a system mode, see >> >> https://wiki.contextgarden.net/Modes#System_modes > > Thanks, but how do I influe

Re: [NTG-context] Does \startnotallmodes work?

2022-05-11 Thread Gerben Wierda via ntg-context
f Enterprise Architecture >> <https://ea.rna.nl/the-book/> >> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> >> > Gerben, > > \startnotallmodes is behaving as it should. Here, it is not the case that RU > and FR (all the listed m

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Gerben Wierda via ntg-context
d line instead, enable a mode derived from a language set on the >>> command line, > > The language settings trigger a system mode, see > > https://wiki.contextgarden.net/Modes#System_modes Thanks, but how do I influence this from the co

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Taco Hoekwater via ntg-context
settings trigger a system mode, see https://wiki.contextgarden.net/Modes#System_modes Best wishes, Taco — Taco Hoekwater E: t...@bittext.nl genderfluid (all pronouns) ___ If your question is of inte

Re: [NTG-context] Does \startnotallmodes work?

2022-05-10 Thread Rik Kabel via ntg-context
/the-book-edition-iii/> Gerben, \startnotallmodes is behaving as it should. Here, it is not the case that RU and FR (all the listed modes) are set, so EN is enabled, and you actually have both FR and EN set. Try the following with context —mode=FR and make sure you understand th

Re: [NTG-context] Simple question

2022-05-10 Thread Denis Maier via ntg-context
Don't know how if there's an automatic way, perhaps look into ctx processing instructions. Anyway you can use --result=name As you have to set quite a few options on the command line (modes, language) you'll perhaps want to use a makefile anyway. Von

Re: [NTG-context] Simple question

2022-05-10 Thread Henning Hraban Ramm via ntg-context
ranslatephrase; for your figures I’d just just a language variable in the path, like \externalfigure[images/\LANG/cow.pdf] If this is always the current language, use \currentlanguage. You can also setup the language dependent directory in \setupexternalfigures. Regarding modes, the current language

Re: [NTG-context] Trying to get a simple bibliography

2022-03-27 Thread Jean-Pierre Delange via ntg-context
[title={Qu’est-ce que la Philosophie politique ?}] On pourrait commencer par énoncer la différence entre la {\it philosophie politique} et la {\it science politique} : la sicence politique est l’étude des institutions politiques, des modes de suffrages et de la sciologie électorale. La {\it science} e

[NTG-context] ConTeXt support in LTEX

2021-11-29 Thread Saša Janiška via ntg-context
Hello, didn't have time to (properly) test, but you might be interested to hear that since 15.2.0 release - hot from the owen - there is now support for ConTeXt as well. Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
nested conditional mode.. is this the problem ?). > > You can’t nest modes in \startmode ... \stopmode. > I don’t know what are the limitations of \doifmode. According to the wiki, we cannot nest several \startmode …\stopmode, but there is no limitation with \doifmode. > > Ma

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Henning Hraban Ramm via ntg-context
Am 28.11.21 um 19:39 schrieb Fabrice L via ntg-context: I have an error when I try to insert a block inside a conditional mode (but there is two nested conditional mode.. is this the problem ?). You can’t nest modes in \startmode ... \stopmode. I don’t know what are the limitations

[NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
MWE — Blocks and modes usually works fine for me, but here, I do not understand my error. Thanks for any help ! Fabrice. Note : in case this way of doing things seems a bit silly, here are more explanations. I do use mode « CourseOne » here because in the real life, the cont

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
ent with this method as well, comparing and contrasting with blocks and Aditya's modes method. It might be a bit annoying, but you could end the previous mode before starting the next. Assuming that I'm not misunderstanding you: For a book-length project, that would be beyond annoying. Well,

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 11:54:52 -0700, Hans Hagen via ntg-context wrote: Blocks are a better mechanism, but I still prefer modes here because I find the \beginblock ... \endblock syntax to be a bit awkward in a context document. it also depends on usage ... you can have blocks and delay

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 10:56:46 -0700, Aditya Mahajan via ntg-context wrote: But you don't have to directly use the modes. The following will work: \definestartstop[abridged] % By default, don't show the unabridged text \definebuffer[unabridged][local=yes, nested=yes] \startmode[unabridged

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Hans Hagen via ntg-context
حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g., we may have a) abridged content b) unabridged content

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Aditya Mahajan via ntg-context
> > wrote: > > > > > Dear gang, > > > > > > For creating/authoring content in ConTeXt: Can modes or the like be used > > > for content control? For example, someone wants to write at least two > > > versions of a book managed from a sin

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Henning Hraban Ramm via ntg-context
}{Conditional text}. I don’t think you would get shorter markup with nesting. More possibilities see https://wiki.contextgarden.net/Modes > Consider variant texts: > > === > Here is some text that > contains % mode=variantone > includes % mode=varianttwo > is comprise

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Taco Hoekwater via ntg-context
Hi Idris, I think Hans was trying to point you to the blocks mechanism. Blocks *do* nest: \defineblock[sectionblock] \defineblock[myblock] \startmode[variantone] \keepblocks[sectionblock] \keepblocks[myblock] \stopmode \startmode[varianttwo] \keepblocks[sectionblock] \stopmode \starttext

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
lists of modes? \startmode[short,long] Something that appears everywhere. \stopmode \startmode[long] % or \startnotmode[short] Something that’s only in the long version. \stopmode Many thanks; will study this. Unfortunately - as pointed out on the wiki - modes cannot be nested. : Why would yo

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Henning Hraban Ramm via ntg-context
> Am 17.11.2021 um 04:06 schrieb ⁨Idris Samawi Hamid ادريس سماوي حامد via > ntg-context⁩ <⁨ntg-context@ntg.nl⁩>: > > Unfortunately - as pointed out on the wiki - modes cannot be nested. Why would you need that? You know about \startnotmode and that you can use lists of

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Hans Hagen via ntg-context
On 11/17/2021 12:25 AM, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Hi Aditya, Many thanks; see below: On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context wrote: On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Aditya Mahajan via ntg-context
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: > Dear gang, > > For creating/authoring content in ConTeXt: Can modes or the like be used > for content control? For example, someone wants to write at least two > versions of a book managed fro

[NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g., we may have a) abridged content b) unabridged content - includes a) c) abridged

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-18 Thread Hans Hagen via ntg-context
. Obviously, these articles should rely on the same environment files. But how would you deal with those cases where you'd need a slightly different table layout in one article? one can always use 'modes' (andf run with --mode) Hans

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
hould be printed in full. > >>> > >>> I thought that the following settings would work: > >>> > >>> \definebtx > >>> [sbl:\s!list] > >>> [sbl] > >>> [\c!otherstext=, > >>> \c!etallimit=, > >>&

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Ágoston Volcz via ntg-context
. >>> >>> I thought that the following settings would work: >>> >>> \definebtx >>> [sbl:\s!list] >>> [sbl] >>> [\c!otherstext=, >>> \c!etallimit=, >>> \c!etaldisplay=, >>> \c!etaloption=, >

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
the first name >> inverted, with all subsequent names in normal order >> >> \definebtx >> [sbl:\s!cite] >> [sbl] >> [\c!otherstext={\btxspace\btxlabeltext{others}}, % use et al. for >> truncated author / editor list >>\c!etallimit=3, % don't u

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
/ editor list >\c!etallimit=3, % don't use et al. for 3 or fewer authors >\c!etaldisplay=3, % >\c!authorconversion=\v!normal] % by default, use normal name order for > in-text citations > > But only the "list" settings seem to be used. I suspect this might be &g

[NTG-context] Different author rendering in entry citation vs. list

2021-08-25 Thread Joey McCollum via ntg-context
for "entry" citations invokes \btxhandleciteentry and therefore uses "list" settings everywhere except where I check modes for conditional formatting. But is there a command or environment I can use to change authorconversion locally, based on the current mode, in the helper methods I've d

Re: [NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Pablo Rodriguez via ntg-context
gt; body, and back matter using modes. > [...] Hi Joey, the command is just different: \startsectionblockenvironment[frontpart] \setupbodyfont[modern] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupbodyfont[pagella] \stopsectionblockenvironment \startse

[NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Joey McCollum via ntg-context
Hi, I was curious about the possibility of handling general formatting settings (e.g., page layout, headers and footers, page numbering, alignment, default body font assignment, etc.) conditionally for front, body, and back matter using modes. According to the wiki page at https

Re: [NTG-context] columnsets messed up

2021-07-02 Thread Hans Hagen
actually use \chapter but its own convoluted \startArticle. Until last issue it tried to be flexible and setup three different column modes. Now I eliminated the last leftovers of that. I still struggle to understand some pecularities... What I did wrong: * \setuplayout[grid=yes] is important

Re: [NTG-context] columnsets messed up

2021-07-02 Thread Henning Hraban Ramm
ven force that but not now). > Then, \chapter itself flushes pages so that should be disabled. Thank you, I got it mostly working now. The CGJ layout doesn’t actually use \chapter but its own convoluted \startArticle. Until last issue it tried to be flexible and setup three different column modes

Re: [NTG-context] no leavevmode

2021-05-28 Thread Hans Hagen
text. Whereas not starting with an \hbox does an implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
an implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
= "1000", --50 ["luatex.maxinopen"] ="500", --15 ["luatex.maxprintline"] = " 1", --79 ["luatex.maxstrings"]= "50", -- 15000 -- obso

Re: [NTG-context] Typing within doifmode leads to error

2021-03-21 Thread Christoph Reller
x.modes['A'] then > > context("A") > >end > > \stopluacode > > > > A > > > > \stoptext > > > > With ConTeXt LMTX 2021.03.17 the output of the above is a single "A". I > > would expect two. What am I doing

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Christoph Reller
t; > mtx-context | fatal error: return code: 1 > > > > Compilation is successful if I replace doifmode{mode}{...} by > > \startmode[mode]...\stopmode. > > > > Is there anything I'm missing? (This could be a bug.) > not a bug, just the way tex works .. modes cannot know

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Hans Hagen
rks .. modes cannot know that what goes into an argument is something verbose but you can use this (also more efficient here): \definetyping[T] \definemode[mode][yes] \starttext \startmode[mode] \startT Bla \stopT \stopmode \stoptext % there's also \startnotm

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread juh
Am Fri, Feb 19, 2021 at 01:17:15PM +0100 schrieb Hans Hagen: > On 2/19/2021 11:46 AM, juh wrote: > > Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: > > > The question is: what happens in that file with modes? > > > > Nothing too fancy. I attached t

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread Hans Hagen
On 2/20/2021 4:42 PM, juh wrote: Am Fri, Feb 19, 2021 at 01:17:15PM +0100 schrieb Hans Hagen: On 2/19/2021 11:46 AM, juh wrote: Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: The question is: what happens in that file with modes? Nothing too fancy. I attached the files

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread juh
Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: > The question is: what happens in that file with modes? Nothing too fancy. I attached the files with mode definitions -- -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Essays: ...

[NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread juh
enalty \endcsname \lastnamedcs \else \page_otr_command_routine \fi {\inotrtrue \the \everybeforeoutput \page_otr_triggered_output_routine \relax \the \everyafteroutput } ... \stopproduct Are there changes with modes or setupbackend in lmtx? My configuration is: \setupbackend[ format=P

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread Hans Hagen
On 2/19/2021 11:46 AM, juh wrote: Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: The question is: what happens in that file with modes? Nothing too fancy. I attached the files with mode definitions works here so you need to make a mwe Hans

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread Hans Hagen
and bleed, it get this error: tex error > tex error on line 1 in file ./prod-poster-motiv-souveraenitaet.tex: You can't use 'integer 340' in internal vertical mode The question is: what happens in that file with modes? H

[NTG-context] [solved] Re: fatal error: return code: 256

2021-01-02 Thread Saša Janiška
has acquired from the modes of material nature; therefore no one can refrain from doing something, not even for a moment. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Installing VSCode extension?

2020-12-17 Thread Mikael Sundqvist
rely, > Gour > > -- > Everyone is forced to act helplessly according to the qualities > he has acquired from the modes of material nature; therefore no > one can refrain from doing something, not even for a moment. > > > > ___

Re: [NTG-context] Installing VSCode extension?

2020-12-17 Thread Saša Janiška
On Thu, 17 Dec 2020 07:51:34 +0100 Mikael Sundqvist wrote: > To set the color theme, click the blue button "Set color theme". So, this is the only thing which can be configured? Sincerely, Gour -- Everyone is forced to act helplessly according to the qualities he has acquired f

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
cit multiplication, and $\sin x$ the function "sin" applied to the variable x. Many thanks for your explanation, Hans. Now it’s clear to me that math and text modes are different in practice. Many thanks for your help,

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-02 Thread Stephen Gaito
y want > to intercept the list builder but when you do that you can as well do > a \stoptext which prevents further reading of content (but i probably > misunderstand) > > > Could I use the "pre_output_filter" to "return" an empty value and > > hen

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-11-30 Thread Hans Hagen
(I realize that these callbacks *are* a currently fast moving target. I am happy to follow their changes, equally I would be testing their usefulness and/or impact) actually, the callbacks themselves hardly change, but the code plugged into them might occasionally (a lot of mkiv code is already quite

[NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-11-30 Thread Stephen Gaito
n empty value and hence "stop" PDF generation? (I realize that these callbacks *are* a currently fast moving target. I am happy to follow their changes, equally I would be testing their usefulness and/or impact) ALTERNATIVE QUESTION: Would it be possible to provide official C

Re: [NTG-context] Testing for LMTX

2020-11-26 Thread Jairo A. del Rio
) 14:06, Jean-Philippe Rey ( jean-philippe@centralesupelec.fr) escribió: > Dear list, > > I would like to determine if LMTX is being used. Mimicking system modes I > tried > > \startmode[*lmtx] . . . \stopmode > > however, LMTX doesn't define this mode but apparently d

[NTG-context] Testing for LMTX

2020-11-26 Thread Jean-Philippe Rey
Dear list, I would like to determine if LMTX is being used. Mimicking system modes I tried \startmode[*lmtx] . . . \stopmode however, LMTX doesn't define this mode but apparently defines *mkiv. Do you know a way to distinguish between LMTX and MkIV ? Thank you, -- Jean-Philippe Rey jean

Re: [NTG-context] Combining modes and MetaFun

2020-09-06 Thread Jan Willem Flamma
Thank you Hans, this is exactly what I need. I will wikify the examples. Kind regards,Jan Willem Flamma  From: Hans HagenSent: Friday, 4 September 2020 15:09To: mailing list for ConTeXt users; Jan Willem FlammaSubject: Re: [NTG-context] Combining modes and MetaFun On 9/4/2020 2:20 PM, Jan Willem

Re: [NTG-context] Combining modes and MetaFun

2020-09-04 Thread Hans Hagen
On 9/4/2020 2:20 PM, Jan Willem Flamma wrote: Dear list members, Is it possible to combine modes and MetaFun? In the below MWE, the \doifmode construction does not work. Kind regards, Jan Willem Flamma === \enablemode[en] %\enablemode[nl] \starttext \startbuffer[square]     u := 2cm

[NTG-context] Combining modes and MetaFun

2020-09-04 Thread Jan Willem Flamma
Dear list members, Is it possible to combine modes and MetaFun? In the below MWE, the \doifmode construction does not work. Kind regards,Jan Willem Flamma ===\enablemode[en]%\enablemode[nl] \starttext \startbuffer[square]    u := 2cm ;    draw unitsquare scaled u ; drawdblarrow (0,-0.2u)..(u

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Otared Kavian
| --purgepurge files either or not after a > run (--pattern=...) > mtx-context | --purgeall purge all files either or not after > a run (--pattern=...) > mtx-context | > mtx-context | --usemodule=list load the given m

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-12 Thread Axel Kielhorn
-usemodule=list load the given module or style, normally part of the distribution mtx-context | --environment=list load the given environment file first (document styles) mtx-context | --mode=listenable given the modes (conditional processing in styles) mtx-cont

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Alan Braslau
Thank you all. No modes, no funniness in the environment file. The test case works (Acroread/properties shows the Title, Author, Subject, and Keywords fields). However, my real case does get the other fields (Author, Subject, and Keywords) but contains in the Title field the filename

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Henning Hraban Ramm
ument and add some > dummy text (like in my example) to ensure ConTeXt produces a PDF > 3. Remove setups from your environment (but keep the \setupdocument setup) > file until the metadata appears in the PDF A typical case if something in an environment doesn’t work, but in a single

Re: [NTG-context] spacing before items

2020-06-24 Thread Henning Hraban Ramm
ized LaTeX3 system: several similar machines, several translations, i.e. modularity pays off. At a former job (newspaper prepress admin) I prepared training material on Acrobat Pro using ConTeXt; presentations and handouts in the same documents, using modes. All the best, Hraban __

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Lukas/ConTeXt
Hello, I've just been noticed about wiki update related to *singlesided and * doublesided modes. Thank you, Wolfgang and Aditya, for answering and filling in the wiki. Best regards, Lukas -- Původní e-mail -- Od: Wolfgang Schuster Komu: mailing list

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Henning Hraban Ramm
> Am 24.06.2020 um 15:48 schrieb Aditya Mahajan : > > On Wed, 24 Jun 2020, Henning Hraban Ramm wrote: >> >> >> I wanted to refer to the mmodes manual, but it’s gone. >> Was it accidentally removed, or are modes now explained in some other >> manual? I

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Aditya Mahajan
On Wed, 24 Jun 2020, Henning Hraban Ramm wrote: I wanted to refer to the mmodes manual, but it’s gone. Was it accidentally removed, or are modes now explained in some other manual? I didn’t find it. http://www.pragma-ade.com/general/manuals/mmodes.pdf and my tugboat article wikified

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Henning Hraban Ramm
sided] > has been specified? > > If so, is it possible by Lua, too? I wanted to refer to the mmodes manual, but it’s gone. Was it accidentally removed, or are modes now explained in some other manual? I didn’t find it. Hraban

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
trainings in both English and Dutch in the same file. Instead of modes, I use blocks. Like this: \defineblock[ENblok]\defineblock[NLblok] \setupblock[NLblok][before={\mainlanguage[nl]},after=]\setupblock[ENblok][before={\mainlanguage[en]},after=] Then, determine which blocks you want to use in your file

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
up an xml file. You can then have the overview via scripts. Yet for short texts it can be a solution. I have case material for my trainings in both English and Dutch in the same file. Instead of modes, I use blocks. Like this: \defineblock[ENblok] \defineblock[NLblok] \setupblock[NLblok][before

Re: [NTG-context] using modeset

2020-06-11 Thread BPJ
Den tors 11 juni 2020 10:45Jan Willem Flamma skrev: > > > Dear list members, > > > > I write training manuals and use the Modes mechanism a lot to create > documents at various competency levels using a single set of source files. > So far the manuals have been

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 11.06.2020 um 10:41: Dear list members, I write training manuals and use the Modes mechanism a lot to create documents at various competency levels using a single set of source files. So far the manuals have been written in English but now a separate Dutch

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
 Dear list members, I write training manuals and use the Modes mechanism a lot to create documents at various competency levels using a single set of source files. So far the manuals have been written in English but now a separate Dutch translation has to be created. It is important that the two

Re: [NTG-context] output file name query

2020-05-23 Thread Gerben Wierda
gt;> In my project, I process a single product file by enabling various modes. >>>> What I would like to do is to vary the name of the output PDF file in each >>>> instance. >>>> So, in processing a file, how does one go directly from prd_filename.tex &g

Re: [NTG-context] output file name query

2020-05-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 22.05.2020 um 17:39: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file

Re: [NTG-context] output file name query

2020-05-22 Thread Rik Kabel
On 5/22/2020 11:39, Henning Hraban Ramm wrote: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each

Re: [NTG-context] output file name query

2020-05-22 Thread Henning Hraban Ramm
> Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster > : > > Alan Bowen schrieb am 22.05.2020 um 14:33: >> In my project, I process a single product file by enabling various modes. >> What I would like to do is to vary the name of the output PDF file in each >>

Re: [NTG-context] output file name query

2020-05-22 Thread Wolfgang Schuster
Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf

[NTG-context] output file name query

2020-05-22 Thread Alan Bowen
In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf rather than to prd_filename.pdf—assuming

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-22 Thread Saša Janiška
fonts package everything is fine now. :-) Thanks everyone for all your help! Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities and become attached. But the wise should not unsettle them, although these duties are inferior due

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
in regard to fonts-stuff or I should contact some other docs to learn? > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist

  1   2   3   4   5   6   7   >